import common.pagedriver
from common import pagedriver
verify='//android.widget.Button[@content-desc="验证地址"]'
finish='//android.widget.Button[@content-desc="完成"]'
verify2='验证地址'
class verifyPage:
    def verify_click(self):
        common.pagedriver.Click_xpath(verify)
    def assert_Login(self,successPrompt):
        try:
            common.pagedriver.locater_Xpath(successPrompt)
            return True
        except:
            return False
    def finish_click(self):
        pagedriver.Click_xpath(finish)
    def verify_register_click(self):
        pagedriver.click_accID(verify2)
